<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<table>
<tr>
<td width="100">
<a href="teacherListBasic.do"><img alt="" src="${initParam.root }img/teacher.jpg" width="295"></a>
</td>
<td>
<a href="studentListBasic.do"><img alt="" src="${initParam.root }img/student.jpg" width="295"></a>
</td>
<tr>
<td colspan="2">
<br><br>
<table style="border-width: 0.5mm;">
	<thead>
	<tr>
	<td width="300" align="left" colspan="5">
	&nbsp;<font color="red" size="4" style="font-weight: bolder;">New</font>
	<font color="black" size="4" style="font-weight: bolder;">과외수업</font>
	
	</td>
	<td><a href="lessonBoardSerch.do"><font size="2">더보기</font></a></td>
	</tr>
	<tr bgcolor="#489CFF">
	<td align="center"><font size="2" color="white">제목</font></td>
	<td align="center"><font size="2" color="white">학년</font></td>
	<td align="center"><font size="2" color="white">과목</font></td>
	<td align="center"><font size="2" color="white">작성자</font></td>
	<td align="center"><font size="2" color="white">작성일</font></td>
	<td align="center"><font size="2" color="white">조회수</font></td>
	</tr>
	</thead>
	<tbody id="serchListTbody">
	<c:forEach items="${requestScope.map.lessonBoard }" var="lessonBoard">
	<tr>
	<td width="300">
	<a href="showLessonBoardInfo.do?lessonno=${lessonBoard.lessonno }&studentid=${lessonBoard.studentid}">
	<font size="2">${lessonBoard.title }</font></a><img src="${initParam.root }img/new.gif" width="30" height="14"></td>
	<td align="center"><font size="2">${lessonBoard.grade }</font></td>
	<td align="center"><font size="2">${lessonBoard.hopesubject }</font></td>
	<td align="center"><font size="2">${lessonBoard.name }</font></td>
	<td align="center"><font size="2">${lessonBoard.connectstate }</font></td>
	<td align="center"><font size="2">${lessonBoard.hits }</font></td>
	</tr>
	<tr>
	<td colspan="6"><hr size="1" color="#489CFF"></td>
	</tr>
	</c:forEach>
	</tbody> 
</table>
</td>
</tr>
</table>
